package com.springbootorder.feignservice;

import com.springbootorder.entity.Order;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface OrderFeignService {
    @PostMapping("listData")
    List<Order> listData(@RequestBody Order order);

    @PostMapping("updateByOrder")
    int updateByOrder(@RequestBody Order order);

    @PostMapping("save")
    int save(@RequestBody Order order);
}
